<input type="input" class="form-control underline" 
           datepicker-popup="{{to.datepickerPopup}}" ng-disabled="to.readOnly?'disabled':''"
           ng-model="model[options.key]" is-open="endOpen" ng-init="endOpen = false"
           ng-change="to['onChange'](model[options.key], options, this, $event ,model);"
           />